package ru.susu.algebra.chartable;

import ru.susu.algebra.partition.Partition;

/**
 * @author akargapolov
 * @since: 03.03.2009
 */
public abstract class PermGroupCharTableBase<V> implements IPermutationsGroupCharTable<V>
{
	public V getCharacter(Partition p1, Partition p2)
	{
		return getCharacter(p1.getOrderNumber(), p2.getOrderNumber());
	}

	public void setCharacter(Partition p1, Partition p2, V value)
	{
		setCharacter(p1.getOrderNumber(), p2.getOrderNumber(), value);
	}
}
